<div id="login" class="form">
	<?php echo $this->Session->flash('auth') ?>
	<?php echo $this->Form->create('User', array('action' => 'login')) ?>
	<table>
		<tr>
			<td><label for="data[User][username]"> Nome de Usuario </label></td>
			<td><label for="data[User][password]"> Senha </label></td>
		</tr>
		<tr>
			<td><?php echo $this->Form->input('username', array('label' => false)) ?></td>
			<td><?php echo $this->Form->input('password', array('type' => 'password', 'label' => false)) ?></td>
		</tr>
			<td><span class="botao"><?= $this->Form->end('Entrar')?></span></td>
			<td><span class="botao"><?= $this->Html->link('Registrar', array('controller' => 'users', 'action' => 'register'), array('class' => 'botao')); ?></span></td>
			<td><span class="botao"><?= $this->Html->link('Logout', array('controller' => 'users', 'action' => 'logout'), array('class' => 'botao')); ?></span></td>
	</table>
</div>